package au.edu.jcu.it.numberguess;

import java.util.Date;

public class HighScore {
	private String ID;
	private String name;
	private String score;
	private String when;

	public HighScore(String name, String text) {

		this.name = name;
		this.score = text;
		this.when = new Date().toString();// current date
	}

	public HighScore(String iD, String name, String text, String time) {
		this.ID = iD;
		this.name = name;
		this.score = text;
		when = time;// current date
	}

	public String getName() {
		return name;
	}

	public String getDate() {
		return when;
	}

	public String getScore() {
		return score;
	}

	public String getID() {
		return ID;
	}

	public void setID(String iD) {
		ID = iD;
	}

}
